home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / mac / Sample Code / QuickTime / QuickTimeIntro / MakeEffectMovie / Clippings / SelectAnEffect.clp < prev   
MacBinary  |  2000-10-06  |  1.4 KB  |  [clpt/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert TRS-80 CLP File (image/trs80Clp) ext Supported
66% dexvert PC Paint Image (image/pcPaint) ext Supported
66% dexvert Windows Clipboard (image/windowsClipboard) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Quattro Pro Clip Art (image/quattroProClipArt) ext Unsupported
1% dexvert Home Plan Pro 5 Clip (other/homePlanPro5Clip) ext Unsupported
100% file MacBinary II, inited, Tue Apr 18 19:09:24 2000, modified Fri Oct 6 15:36:48 2000, creator 'drag', type 'clpt' "SelectAnEffect.clp", at 0x80 1187 bytes resource Apple HFS/HFS+ resource fork, map offset 0x45d, map length 0x46, data length 0x35d, at 16 0x00000002, nextResourceMap 0x7ac6010, fileRef 0x3bdc, list offset 0x1c, name offset 0x46, 2 types, 0x54455854 'TEXT' * 1 resource offset 0x12 default (weak)
99% file data default
74% TrID Mac Text clippings (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[clpt]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 53 65 6c 65 63 74 | 41 6e 45 66 66 65 63 74 |..Select|AnEffect|
|00000010| 2e 63 6c 70 00 00 00 00 | 00 00 00 00 00 00 00 00 |.clp....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 74 64 72 61 | 67 01 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 04 a3 b5 22 9b a4 b6 |........|...."...|
|00000060| 03 da 50 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..P.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 50 44 00 00 |........|....PD..|
|00000080| 00 00 01 00 00 00 04 5d | 00 00 03 5d 00 00 00 46 |.......]|...]...F|
|00000090| 00 00 00 02 00 08 88 8f | 00 00 00 02 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 01 1e 00 00 00 00 |........|........|
|000000e0| 00 00 00 01 00 08 88 91 | 00 00 00 01 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 1a 00 00 | 75 76 00 0a 00 6a 00 63 |........|uv...j.c|
|00000130| 00 6c 00 73 00 68 00 6f | 00 6f 00 6b 00 2e 00 68 |.l.s.h.o|.o.k...h|
|00000140| 00 02 00 02 00 00 00 00 | 00 00 75 7a b3 74 c9 5d |........|..uz.t.]|
|00000150| b3 74 ca d9 00 00 00 00 | 00 00 00 00 00 00 00 00 |.t......|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 54 45 58 54 43 57 49 45 | 01 00 00 00 00 00 00 00 |TEXTCWIE|........|
|00000180| 00 00 03 35 09 2f 2f 20 | 43 72 65 61 74 65 20 61 |...5.// |Create a|
|00000190| 6e 20 61 74 6f 6d 20 63 | 6f 6e 74 61 69 6e 65 72 |n atom c|ontainer|
|000001a0| 20 74 6f 20 68 6f 6c 64 | 20 74 68 65 20 70 61 72 | to hold| the par|
|000001b0| 61 6d 65 74 65 72 73 0d | 09 2f 2f 20 66 6f 72 20 |ameters.|.// for |
|000001c0| 74 68 65 20 65 66 66 65 | 63 74 2e 0d 09 6d 79 45 |the effe|ct...myE|
|000001d0| 72 72 20 3d 20 51 54 4e | 65 77 41 74 6f 6d 43 6f |rr = QTN|ewAtomCo|
|000001e0| 6e 74 61 69 6e 65 72 28 | 26 67 45 66 66 65 63 74 |ntainer(|&gEffect|
|000001f0| 53 61 6d 70 6c 65 29 3b | 0d 09 42 61 69 6c 45 72 |Sample);|..BailEr|
|00000200| 72 6f 72 28 6d 79 45 72 | 72 29 3b 0d 09 0d 09 2f |ror(myEr|r);..../|
|00000210| 2f 20 51 54 47 65 74 45 | 66 66 65 63 74 73 4c 69 |/ QTGetE|ffectsLi|
|00000220| 73 74 20 72 65 74 75 72 | 6e 73 20 61 20 51 54 41 |st retur|ns a QTA|
|00000230| 74 6f 6d 43 6f 6e 74 61 | 69 6e 65 72 20 68 6f 6c |tomConta|iner hol|
|00000240| 64 69 6e 67 20 61 20 0d | 09 2f 2f 20 6c 69 73 74 |ding a .|.// list|
|00000250| 20 6f 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 6c | of the |currentl|
|00000260| 79 20 69 6e 73 74 61 6c | 6c 65 64 20 65 66 66 65 |y instal|led effe|
|00000270| 63 74 73 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 0d 09 |cts comp|onents..|
|00000280| 6d 79 45 72 72 20 3d 20 | 51 54 47 65 74 45 66 66 |myErr = |QTGetEff|
|00000290| 65 63 74 73 4c 69 73 74 | 28 26 67 45 66 66 65 63 |ectsList|(&gEffec|
|000002a0| 74 4c 69 73 74 2c 20 74 | 68 65 53 70 65 63 43 6f |tList, t|heSpecCo|
|000002b0| 75 6e 74 2c 20 74 68 65 | 53 70 65 63 43 6f 75 6e |unt, the|SpecCoun|
|000002c0| 74 2c 20 30 29 3b 0d 09 | 42 61 69 6c 45 72 72 6f |t, 0);..|BailErro|
|000002d0| 72 28 6d 79 45 72 72 29 | 3b 0d 09 0d 09 2f 2f 20 |r(myErr)|;....// |
|000002e0| 41 73 6b 20 74 68 65 20 | 75 73 65 72 20 74 6f 20 |Ask the |user to |
|000002f0| 73 65 6c 65 63 74 20 61 | 6e 20 65 66 66 65 63 74 |select a|n effect|
|00000300| 2e 20 4f 6e 20 72 65 74 | 75 72 6e 2c 20 74 68 65 |. On ret|urn, the|
|00000310| 20 0d 09 2f 2f 20 67 45 | 66 66 65 63 74 53 61 6d | ..// gE|ffectSam|
|00000320| 70 6c 65 20 61 74 6f 6d | 20 63 6f 6e 74 61 69 6e |ple atom| contain|
|00000330| 65 72 20 68 6f 6c 64 73 | 20 61 6e 20 65 66 66 65 |er holds| an effe|
|00000340| 63 74 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 0d |ct descr|iption .|
|00000350| 09 2f 2f 20 66 6f 72 20 | 74 68 65 20 65 66 66 65 |.// for |the effe|
|00000360| 63 74 20 73 65 6c 65 63 | 74 65 64 20 62 79 20 74 |ct selec|ted by t|
|00000370| 68 65 20 75 73 65 72 2c | 20 69 6e 63 6c 75 64 69 |he user,| includi|
|00000380| 6e 67 20 74 68 65 20 70 | 61 72 61 6d 65 74 65 72 |ng the p|arameter|
|00000390| 0d 09 2f 2f 20 73 65 74 | 74 69 6e 67 73 2e 20 54 |..// set|tings. T|
|000003a0| 68 69 73 20 65 66 66 65 | 63 74 20 64 65 73 63 72 |his effe|ct descr|
|000003b0| 69 70 74 69 6f 6e 20 63 | 61 6e 20 74 68 65 6e 20 |iption c|an then |
|000003c0| 62 65 20 61 64 64 65 64 | 0d 09 2f 2f 20 74 6f 20 |be added|..// to |
|000003d0| 74 68 65 20 6d 65 64 69 | 61 20 6f 66 20 61 6e 20 |the medi|a of an |
|000003e0| 65 66 66 65 63 74 20 74 | 72 61 63 6b 2e 20 59 6f |effect t|rack. Yo|
|000003f0| 75 20 77 69 6c 6c 20 6e | 65 65 64 20 74 6f 20 61 |u will n|eed to a|
|00000400| 64 64 0d 09 2f 2f 20 73 | 6f 75 72 63 65 20 61 74 |dd..// s|ource at|
|00000410| 6f 6d 73 20 74 6f 20 74 | 68 69 73 20 63 6f 6e 74 |oms to t|his cont|
|00000420| 61 69 6e 65 72 20 66 6f | 72 20 65 66 66 65 63 74 |ainer fo|r effect|
|00000430| 73 20 74 68 61 74 20 72 | 65 71 75 69 72 65 0d 09 |s that r|equire..|
|00000440| 2f 2f 20 73 6f 75 72 63 | 65 73 2e 0d 09 6d 79 45 |// sourc|es...myE|
|00000450| 72 72 20 3d 20 51 54 43 | 72 65 61 74 65 53 74 61 |rr = QTC|reateSta|
|00000460| 6e 64 61 72 64 50 61 72 | 61 6d 65 74 65 72 44 69 |ndardPar|ameterDi|
|00000470| 61 6c 6f 67 28 67 45 66 | 66 65 63 74 4c 69 73 74 |alog(gEf|fectList|
|00000480| 2c 20 67 45 66 66 65 63 | 74 53 61 6d 70 6c 65 2c |, gEffec|tSample,|
|00000490| 20 30 2c 20 26 67 45 66 | 66 65 63 74 73 44 69 61 | 0, &gEf|fectsDia|
|000004a0| 6c 6f 67 29 3b 0d 09 42 | 61 69 6c 45 72 72 6f 72 |log);..B|ailError|
|000004b0| 28 6d 79 45 72 72 29 3b | 0d 00 00 00 20 00 00 00 |(myErr);|.... ...|
|000004c0| 01 00 00 00 04 00 00 00 | 00 00 00 00 01 54 45 58 |........|.....TEX|
|000004d0| 54 00 00 01 00 00 00 00 | 00 00 00 00 00 00 00 01 |T.......|........|
|000004e0| 00 00 00 04 5d 00 00 03 | 5d 00 00 00 46 07 ac 60 |....]...|]...F..`|
|000004f0| 10 3b dc 00 00 00 1c 00 | 46 00 01 54 45 58 54 00 |.;......|F..TEXT.|
|00000500| 00 00 12 64 72 61 67 00 | 00 00 1e 01 00 ff ff 00 |...drag.|........|
|00000510| 00 00 00 00 00 29 10 00 | 80 ff ff 00 00 03 39 00 |.....)..|......9.|
|00000520| 00 29 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.)......|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+